package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.domain.Driver;

import java.util.List;

/**
* @author 14168
* @description 针对表【sys_driver】的数据库操作Mapper
* @createDate 2024-06-03 09:58:24
* @Entity org.example.domain.Driver
*/
@Mapper
public interface DriverMapper{

    List<Driver> list();


    void updateStatus(Integer id);

    @Select("select * from sys_driver where id=#{id}")
    Driver getById(Integer id);


}




